/**
 * 测试用例描述入口
 *
 * Created by snowingsea on 2020/01/20.
 */
process.env.NODE_ENV = 'test';
const fs = require('fs-extra');
const path = require('path');

describe('Test Phoenix', function () {
  before(function (done) {
    fs.readJson(path.join(__dirname, '..', 'phoenix', 'config.json'))
      .then((config) => {
        global.config = config;
        done();
      })
      .catch(done);
  });

  require('./api');
});
